<template>
	<div class="home">
		主页
	</div>
</template>

<script>
	export default {
		name: 'home-index',
		components: {
		},
		created() {
			window.onbeforeunload = function() {
				Vue.ls.remove('userInfo');
			}
		},
		data() {
			return {
				userId: "",
				siderBarList:[],
				tabBtnList:[],
			};
		},
		methods:{
			getUserId(id){
				this.$refs.cal.userInfo.id = id;
				this.$refs.cal.getDataList()
			},

		}
	}
</script>

<style lang="less" scoped>
	.el-row {
		margin-bottom: 20px;
	&:last-child {
		 margin-bottom: 0;
	 }
	}
	.el-col {
		border-radius: 4px;
	}
	.grid-content {
		border-radius: 4px;
		min-height: 36px;
	}
	.row-bg {
		padding: 10px 0;
		background-color: #f9fafc;
	}
</style>
